Treat as beam vs treat as solid

Hi Experts

What difference does it make whe we treat a model as "beam" and when we treat it as "solid" ? What is the criteria for doing this selection ?