Often used to describe a temporary or simple shelter attached to something for protection or storage. They constructed a lean-to at the campsite for cover.
Pro Tip 2/2
Building Attachment
A lean-to is always a secondary structure supported by the main building. The garden tools were kept in a lean-to attached to the barn.