Whats Does Residency Mean?

What does residency mean in medicine?

.

Who are known as residents?

Why are doctors called residents?

What is the meaning of residency?