On certain inequalities and their applications in the oscillation theory