⟩ What is the difference between SPSite and SPWeb object?
Difference between SPSite and SPWeb object
SPSite
The SPSite object represents a collection of sites, i.e. Site Collection, a top level site and all its sub sites.
SPWeb
The SPWeb object represents an instance of a SharePoint Web, and the SPWeb object contains things like the actual content