Oligarchy is a government in which a small group of people exercises control over everyone else with no input from the general populace.
Democracy is a government in which the supreme power is vested in the people and exercised by them directly or indirectly through representatives chosen by them.