Projection histograms are used in handwritten character recognition to analyze the spatial distribution of pixel intensities along axes. Horizontal histograms represent cumulative pixel intensity in each column, with peaks indicating ink concentration and character parts. Vertical histograms represent cumulative intensity in each row, with peaks indicating character height and line spacing. They are generated by converting an image to greyscale, removing noise, applying a threshold, and calculating projections along axes.