In Lstm choosing the hidden state

if i choose
hidden_size = 3 #number of features in hidden state.

what does it means in lstm. Why we need to use the hidden state features. What about choosing the size of the hidden state?