What is an example of animals responding to their surroundings?

An example of animals responding to their surroundings is the behaviour of a sea star, which is a type of echinoderm. When a sea star encounters an object, it uses its tube feet to sense its shape and texture. If the object is a potential food source, such as a mollusc, the sea star will wrap its arms around it and use its tube feet to pull it towards its mouth. If the object is not a potential food source, the sea star will move away from it. This behaviour is an example of how animals respond to their surroundings by using their senses to determine whether an object is a potential threat or food source.