Fix grammatical problems in the given paragraph:
In the modern-day world technology is no longer a tool for survival but it turned to a means of communication and entertainment.
In the modern-day world, technology is no longer a tool for survival, but it has turned into a means of communication and entertainment.