What is the difference between decimals and fractions?

What is the Difference Between the Fraction and Decimals? The main difference between the fraction and decimals is that fraction represents a ratio between two, while decimals can also be used for writing infinite values and for more precision.