Acknowledgements
GDT

The global descriptor table tells the processor where the segments
are located and gives the segments some attributes (e.g. access flags)
IDT

The Interrupt Descriptor Table tells the CPU where the handlers for
the interrupts can be found at.