The mysterious nature of identification with the ego

What does it mean to identify with the ego and thus with the body and mind? It's a very elusive thing.