Democracy is where people get to exercise government via themselves or elected officials. For example, the people protesting a transphobic law made by the state government.
Republicanism is where government is exclusively executed by elected officials. For example, the US' legislative process...