Why is lactic acid toxic?

To my knowledge, lactic acid is not toxic and, in fact, is used in a number of food products. It can, however, cause muscle cramps through a buildup of the acid in a muscle.