Is it evil to burn ants to death with a magnifying glass?

Sometimes I go outside and use the sun and a magnifying glass to focus tremendous amounts of light onto small areas, lighting ants on fire. If I get them hot enough, they start to smoke and pop.