As you know Sitecore can work with 3 or more databases. Core, Mastert and Web Database.
Sometime, developers will use a specific Database to get information;
The Bad Example :

SitecoreUtil.Utility.Settings.Databases.MasterDatabase.GetItem(menuPath);

The recommended best practice is to use : Sitecore.Context.Database

Sitecore.Data.Database currentDatabase = Sitecore.Context.Database;
Item mainNavigationItem = currentDatabase.GetItem(menuPath);