The sei() is a macro that executes an assembler instruction to enable interrupts.
The sei() is defined in hardware/tools/avr/avr/include/avr/interrupt.h as below.
# define sei() __asm__ __volatile__ ("sei" ::)
The sei is an assembler instruction to disable interrputs.