In ideal solution there are no forces acting between the constituent molecules.
However when mineral acids like, H2SO4 is added to water it dissociates into H+ and SO42- , as water is a polar solvent it gets attracted to these species.
Due to these attractive forces, the solution becomes a non-ideal one.