What is a Lady in Waiting?

Lady in waiting today would be called an assistant. But in old days or maybe not so old days they are women that attend to women of royalty such as queens and princess. She job is to serve.