The pH scale is a basic concept in chemistry, measuring the solution’s acidity or alkalinity…