Why a mesh deforms when I apply Curve modifier?
There are several problems:


The origins of the curve and the object need to be in the same place.
The cylinder is rotated slightly, try rotating it so that it is horizontal.
The curve is scaled and rotated. You can fix this by pressing CtrlA> Rotation &amp; Scale with the curve selected.


Result: