An extension is a way of calling compiled C code from Perl. Reading perlxstut is a good place to learn more about extensions.