user
How does the following text snippet represent a comparison?

Input: The thunder roared like a lion.

Output:
assistant
The text snippet represents a comparison by comparing the sound of thunder with the sound of a lion's roar.