The chemistry of lithium is very similar to that of magnesium even though they are placed in different groups because
The correct option is A
the ratio of their charge to size is nearly the same.
A Diagonal Relationship is said to exist between certain pairs of diagonally adjacent elements in the second and third periods of the periodic table. These pairs (Li & Mg, Be & Al, B & Si, etc.) exhibit similar properties.
Lithium from the second period of group 1 and Magnesium from the third period of group 2 forms carbonates which dissociate and form carbon dioxide. Like Magnesium, lithium also reacts directly with nitrogen and forms nitrides.
This is because the ratio of their charge to size is nearly the same. Because from left to right size increases but top to bottom size decreases. Due to these opposite trends of size from left-right and top-bottom, the ratio of charge to size of lithium and magnesium is nearly the same.