How are insects kept in museums?

The collected insects are killed and pinned. Then they are placed in a insect box