How option in dropna()

In dropna() how option works on the base of axis or random.
(Like if axis==1 the how option of dropna() will work on coloumn-wise)