When part of the moon is destroyed by an octopus-like alien, Nagisa Shiota and his classmates of E Class are assigned to kill it by the government after it decides to act as teacher for their class otherwise it will destroy the Earth once the school year is over.