RunWithElevatedPrivileges (RWEP) executes the specified method with Full Control rights even if the user does not otherwise have Full Control. In Other words The RunWithElevatedPrivileges (RWEP) method enables you to supply a delegate that runs a subset of code in the context of an account with higher privileges than the current user.
A delegate method that is to run with elevated rights. This method runs under the Application Pool identity, which has site collection administrator privileges on all site collections hosted by that application pool.
The example shows the syntax that is required to define an anonymous method in the call to RunWithElevatedPrivileges.
// implementation details omitted