Definition of agency

What does the word agency mean?