Some definitions

What are legitimacy, sovereignty, and authority and how do they relate to one another?