what is a magnifying glass used for in science