What is primary and logical partition?

Can someone please tell me what's difference between that comes in a option to choose in zorin os.
Like primary or logical which should i choose?

Location for the new partition
Beginning of the space or end of this space.

Also in mount option
What does swap option use for?