RepairPal Certified shops can diagnose and repair your 2005 Nissan Maxima. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.
This could be so many things, it would be a guess to try and determine what is wrong online. Take your car to a good shop and have them test drive it to make a better determination of what the noise really is.
https://repairpal.com/nissan-repair-in-glendale-arizona