A molecular machine, nanite, or nanomachine, is a molecular component that produces quasi-mechanical movements (output) in response to specific stimuli (input). In biology, macromolecular machines frequently perform tasks essential for life such as DNA replication and ATP synthesis. The expression is often more generally applied to molecules that simply mimic functions that occur at the macroscopic level. The term is also common in nanotechnology where a number of highly complex molecular machines have been proposed that are aimed at the goal of constructing a molecular assembler.
Molecular machines can be divided into two broad categories; artificial and biological. In general, artificial molecular machines (AMMs) refer to molecules that are artificially designed and synthesized whereas biological molecular machines can commonly be found in nature.
A wide variety of artificial molecular machines (AMMs) have been synthesized by chemists which are
rather simple and small compared to biological molecular machines.
The first AMM, a molecular shuttle, was synthesized by Sir J. Fraser Stoddart. 
A molecular shuttle is a rotaxane molecule where a ring is mechanically interlocked onto an axle with two bulky stoppers. The ring can move between two binding sites with various stimuli such as light, pH, solvents, and ions.  As the authors of this 1991 JACS paper noted: “Insofar as it becomes possible to control the movement of one molecular component with respect to the other in a rotaxane, the technology for building molecular machines will emerge.”, mechanically interlocked molecular architectures spearheaded AMM design and synthesis as they provide directed molecular motion.  Today a wide variety of AMMs exists as listed below.
Overcrowded alkane molecular motor.
Molecular motors are molecules that are capable of rotary motion around a single or double bond.
Single bond rotary motors  are generally fueled by chemical reactions whereas double bond rotary motors  are generally fueled by light. The rotation speed of the motor can also be tuned by careful molecular design. Carbon nanotube nanomotors have also been produced. 
A molecular propeller is a molecule that can propel fluids when rotated, due to its special shape that is designed in analogy to macroscopic propellers.  It has several molecular-scale blades attached at a certain pitch angle around the circumference of a nanoscale shaft. Also see molecular gyroscope.
Daisy chain rotaxane. These molecules are considered as building blocks for artificial muscle.
A molecular switch is a molecule that can be reversibly shifted between two or more stable states.  The molecules may be shifted between the states in response to changes in pH, light, temperature, an electric current, microenvironment, or the presence of a ligand. 
Rotaxane based molecular shuttle.
A molecular shuttle is a molecule capable of shuttling molecules or ions from one location to another.  A common molecular shuttle consists of a rotaxane where the macrocycle can move between two sites or stations along the dumbbell backbone. 
Nanocars are single molecule vehicles that resemble macroscopic automobiles and are important for understanding how to control molecular diffusion on surfaces. The first nanocars were synthesized by James M. Tour in 2005. They had an H shaped chassis and 4 molecular wheels (fullerenes) attached to the four corners.  In 2011, Ben Feringa and co-workers synthesized the first motorized nanocar which had molecular motors attached to the chassis as rotating wheels.  The authors were able to demonstrate directional motion of the nanocar on a copper surface by providing energy from a scanning tunneling microscope tip. Later in 2017, worlds first ever Nanocar race took place in France.
A molecular balance is a molecule that can interconvert between two and more conformational or configurational states in response to the dynamic of multiple intra- and intermolecular driving forces, such as hydrogen bonding, solvophobic/hydrophobic effects,π interactions, and steric and dispersion interactions.
Molecular tweezers are host molecules capable of holding items between their two arms.  The open cavity of the molecular tweezers binds items using non-covalent bonding including hydrogen bonding, metal coordination, hydrophobic forces, van der Waals forces, π interactions, or electrostatic effects.  Examples of molecular tweezers have been reported that are constructed from DNA and are considered DNA machines. 
A molecular sensor is a molecule that interacts with an analyte to produce a detectable change. Molecular sensors combine molecular recognition with some form of reporter, so the presence of the item can be observed.
Molecular logic gate
A molecular logic gate is a molecule that performs a logical operation on one or more logic inputs and produces a single logic output.  Unlike a molecular sensor, the molecular logic gate will only output when a particular combination of inputs are present.
A molecular hinge is a molecule that can be selectively switched from one configuration to another in a reversible fashion. Such configurations must have distinguishable geometries, for instance, Cis or Trans isomers of a V-shape molecule. Azo compounds perform Cis–trans isomerism upon receiving UV-Vis light.
These biological machines might have applications in nanomedicine. For example, they could be used to identify and destroy cancer cells.Molecular nanotechnology is a speculative subfield of nanotechnology regarding the possibility of engineering molecular assemblers, biological machines which could re-order matter at a molecular or atomic scale. Nanomedicine would make use of these nanorobots, introduced into the body, to repair or detect damages and infections. Molecular nanotechnology is highly theoretical, seeking to anticipate what inventions nanotechnology might yield and to propose an agenda for future inquiry. The proposed elements of molecular nanotechnology, such as molecular assemblers and nanorobots are far beyond current capabilities.
The construction of more complex molecular machines is an active area of theoretical and experimental research. A number of molecules, such as molecular propellers, have been designed, although experimental studies of these molecules are inhibited by the lack of methods to construct these molecules. In this context, theoretical modeling can be extremely useful to understand the self-assembly/disassembly processes of rotaxanes, important for the construction of light-powered molecular machines. This molecular-level knowledge may foster the realization of ever more complex, versatile, and effective molecular machines for the areas of nanotechnology, including molecular assemblers.
Although currently not feasible, some potential applications of molecular machines are transport at the molecular level, manipulation of nanostructures and chemical systems, high density solid-state informational processing and molecular prosthetics. Many fundamental challenges need to be overcome before molecular machines can be used practically such as autonomous operation, complexity of machines, stability in the synthesis of the machines and the working conditions.
In 2018, an international team of researchers, led by researchers from the University of Osaka, Japan, created a molecular machine in which elements of a mechanical ratchet were used. The main advantage of this machine[according to whom?] is that it provides movement in only one direction. In addition, some features of the structure of the molecular machine provide the best balance[dubious – discuss] between the produced motion and chemical reactivity of the molecules that make it up, that is a problem in itself[clarification needed].
^Simpson, Christopher D.; Mattersteig, Gunter; Martin, Kai; Gherghel, Lileta; Bauer, Roland E.; Räder, Hans Joachim; Müllen, Klaus (March 2004). "Nanosized Molecular Propellers by Cyclodehydrogenation of Polyphenylene Dendrimers". Journal of the American Chemical Society. 126 (10): 3139–3147. doi:10.1021/ja036732j. PMID15012144.
^ abBissell, Richard A; Córdova, Emilio; Kaifer, Angel E.; Stoddart, J. Fraser (12 May 1994). "A chemically and electrochemically switchable molecular shuttle". Nature. 369 (6476): 133–137. Bibcode:1994Natur.369..133B. doi:10.1038/369133a0.
^Chatterjee, Manashi N.; Kay, Euan R.; Leigh, David A. (2006-03-01). "Beyond Switches: Ratcheting a Particle Energetically Uphill with a Compartmentalized Molecular Machine". Journal of the American Chemical Society. 128 (12): 4058–4073. doi:10.1021/ja057664z. ISSN0002-7863. PMID16551115.
^Kudernac, Tibor; Ruangsupapichat, Nopporn; Parschau, Manfred; Maciá, Beatriz; Katsonis, Nathalie; Harutyunyan, Syuzanna R.; Ernst, Karl-Heinz; Feringa, Ben L. (10 November 2011). "Electrically driven directional motion of a four-wheeled molecule on a metal surface". Nature. 479 (7372): 208–211. Bibcode:2011Natur.479..208K. doi:10.1038/nature10587. PMID22071765.
^Paliwal, S.; Geib, S.; Wilcox, C. S. (1994-05-01). "Molecular Torsion Balance for Weak Molecular Recognition Forces. Effects of "Tilted-T" Edge-to-Face Aromatic Interactions on Conformational Selection and Solid-State Structure". Journal of the American Chemical Society. 116 (10): 4497–4498. doi:10.1021/ja00089a057. ISSN0002-7863.
^Li, Ping; Zhao, Chen; Smith, Mark D.; Shimizu, Ken D. (2013-06-07). "Comprehensive Experimental Study of N-Heterocyclic π-Stacking Interactions of Neutral and Cationic Pyridines". The Journal of Organic Chemistry. 78 (11): 5303–5313. doi:10.1021/jo400370e. ISSN0022-3263. PMID23675885.
^Hwang, Jungwun; Li, Ping; Smith, Mark D.; Shimizu, Ken D. (2016-07-04). "Distance-Dependent Attractive and Repulsive Interactions of Bulky Alkyl Groups". Angewandte Chemie International Edition. 55 (28): 8086–8089. doi:10.1002/anie.201602752. ISSN1521-3773. PMID27159670.
^Chen, C. W.; Whitlock, H. W. (July 1978). "Molecular tweezers: a simple model of bifunctional intercalation". Journal of the American Chemical Society. 100 (15): 4921–4922. doi:10.1021/ja00483a063.
^Klärner, Frank-Gerrit; Kahlert, Björn (December 2003). "Molecular Tweezers and Clips as Synthetic Receptors. Molecular Recognition and Dynamics in Receptor−Substrate Complexes". Accounts of Chemical Research. 36 (12): 919–932. doi:10.1021/ar0200448. PMID14674783.
^Wu, Di; Sedgwick, Adam C.; Gunnlaugsson, Thorfinnur; Akkaya, Engin U.; Yoon, Juyoung; James, Tony D. (2017). "Fluorescent chemosensors: the past, present and future". Chemical Society Reviews. 46 (23): 7105–7123. doi:10.1039/C7CS00240H. hdl:11693/38177. PMID29019488.
^Prasanna de Silva, A.; McClenaghan, Nathan D. (April 2000). "Proof-of-Principle of Molecular-Scale Arithmetic". Journal of the American Chemical Society. 122 (16): 3965–3966. doi:10.1021/ja994080m.
^Magri, David C.; Brown, Gareth J.; McClean, Gareth D.; de Silva, A. Prasanna (April 2006). "Communicating Chemical Congregation: A Molecular AND Logic Gate with Three Chemical Inputs as a "Lab-on-a-Molecule" Prototype". Journal of the American Chemical Society. 128 (15): 4950–4951. doi:10.1021/ja058295+. PMID16608318.
^De Bo, Guillaume; Kuschel, Sonja; Leigh, David A.; Lewandowski, Bartosz; Papmeyer, Marcus; Ward, John W. (2014-04-16). "Efficient Assembly of Threaded Molecular Machines for Sequence-Specific Synthesis". Journal of the American Chemical Society. 136 (15): 5811–5814. doi:10.1021/ja5022415. ISSN0002-7863. PMID24678971.
^Uznanski, P.; Kryszewski, M.; Thulstrup, E.W. (1991). "Linear dichroism and trans → cis photo-isomerization studies of azobenzene molecules in oriented polyethylene matrix". Eur. Polym. J. 27: 41–43. doi:10.1016/0014-3057(91)90123-6.
^Kazem-Rostami, Masoud (2017). "Design and synthesis of Ʌ-shaped photoswitchable compounds employing Tröger's base scaffold". Synthesis. 49 (6): 1214–1222. doi:10.1055/s-0036-1588913.
^Amrute-Nayak, M.; Diensthuber, R. P.; Steffen, W.; Kathmann, D.; Hartmann, F. K.; Fedorov, R.; Urbanke, C.; Manstein, D. J.; Brenner, B.; Tsiavaliaris, G. (2010). "Targeted Optimization of a Protein Nanomachine for Operation in Biohybrid Devices". Angewandte Chemie. 122 (2): 322–326. doi:10.1002/ange.200905200.
^Patel, G. M.; Patel, G. C.; Patel, R. B.; Patel, J. K.; Patel, M. (2006). "Nanorobot: A versatile tool in nanomedicine". Journal of Drug Targeting. 14 (2): 63–7. doi:10.1080/10611860600612862. PMID16608733.
^Tabacchi, G.; Silvi, S.; Venturi, M.; Credi, A.; Fois, E. (2016). "Dethreading of a Photoactive Azobenzene-Containing Molecular Axle from a Crown Ether Ring: A Computational Investigation". ChemPhysChem. 17 (12): 1913–1919. doi:10.1002/cphc.201501160. PMID26918775.
^Coskun, Ali; Banaszak, Michal; Astumian, R. Dean; Stoddart, J. Fraser; Grzybowski, Bartosz A. (2011-12-05). "Great expectations: can artificial molecular machines deliver on their promise?". Chem. Soc. Rev. 41 (1): 19–30. doi:10.1039/c1cs15262a. ISSN1460-4744. PMID22116531.