Another way to say "sensors are used to collect information" is "The purpose of sensors is to collect information."