The United States is a democratic republic because the Constitution contains both democratic and republican elements. The democratic element is that everyone gets to vote. In the republican part, people elect someone to vote for them. This elected individual is called a representative. Everyone gets to vote for a representative. This is how the democratic and republican elements work together in the Constitution.
The Constitution also prevents the rise of a dictator or tyrant. This is because the central government is separated