>>11305060Linear regression is a model to predict continuous values, the slightly modified version logistic regression is used for classification.
Neural networks are also used for classification, but they have a more sophisticated system based on brain neurons where the input pass through some interconnected nodes via activation functions and provide an output. Linear regression is simpler, it just sum the products of inputs and weights.