It implies that someone is acting out of line or exceeding their perceived social standing, and the phrase is used to forcefully remind them of their limitations.
It can be considered a rude and aggressive way of telling someone to behave themselves.