The description M12 referes to the thread type used in the connection of this product. Several series of connectors fall under this category. The MDC, (Micro DC) also known as a Micro-change, does not imply that they are only used in DC applications. MDC series products have a single keyway that is known as A-coded. M-12 cables can be used for connecting sensors such as industrial sensors, M12 style sanitary sensors or other sensors, to transmitters or instruments.
For your convenience, these cables can be sorted by "number of poles", and "connector type" as shown below.