Too” and “Two” sounds the same, but they have different meaning.

Too” means also.

An example, “I like ice-cream, and I like chocolate too.”

Two” means the number 2.

An example, “The teacher told our class to review for the test two times.”