(a)Love poems usually compare people to nature because nature is a symbol of life and beauty so by comparing a person with nature you show their beauty.
(b) The effect of this comparison is that the you be see how beautiful a person is.