What is an apprenticeship?

What is an apprenticeship?