How are liquids and gases alike?