Japanese numbers with two different words?

The number 4 can be "yon" and "shi" and 7 can be "shichi" and "nana". Is there some difference between them or when and what for use?
7 answers 7