In this study, we carried out molecular dynamics simulations of a cylindrical Lennard-Jones droplet on a flat and smooth solid surface and showed that Young's equation as the relation among solid-liquid, solid-vapor, and liquid-vapor interfacial tensions γSL, γSV, and γLV, respectively, was applicable only under a very restricted condition. Using the fluid stress-tensor distribution, we examined the force balance in the surface-lateral direction exerted on a rectangular control volume set around the contact line. As the mechanical route, the fluid stress integrals along the two control surfaces normal to the solid-fluid interface were theoretically connected with γSL and γSV relative to the solid-vacuum interfacial tension γS0 by Bakker's equation extended to solid-related interfaces via a thought experiment, for which the position of the solid-fluid interface plane was defined at the limit that the fluid molecules could reach. On the other hand, the fluid stress integral along the control surface lateral to the solid-fluid interface was connected with γLV by the Young-Laplace equation. Through this connection, we showed that Young's equation was valid for a system in which the net lateral force exerted on the fluid molecules from the solid surface was zero around the contact line. Furthermore, we compared γSL - γS0 and γSV - γS0 obtained by the mechanical route with the solid-liquid and solid-vapor works of adhesion obtained by the dry-surface method as one of the thermodynamic routes and showed that both routes resulted in a good agreement. In addition, the contact angle predicted by Young's equation with these interfacial tensions corresponded well to the apparent droplet contact angle determined by using the previously defined position of the solid-fluid interface plane; however, our theoretical derivation indicated that this correspondence was achieved because the zero-lateral force condition was satisfied in the present system with a flat and smooth solid surface. These results indicated that the contact angle should be predicted not only by the interfacial tensions but also by the pinning force exerted around the contact line.