N atoms have molecular orbitals occupied by delocalized electrons, forming a conjugated system. Consequently, the three bonds of the nitrogen in amides is not pyramidal (as in the amines) but planar. This planar restriction prevents rotations about the N linkage and thus has important consequences for the mechanical properties of bulk material of such molecules, and also for the configurational properties of macromolecules built by such bonds. The inability to rotate distinguishes amide groups from ester groups which allow rotation and thus create more flexible bulk material. The structure of an amide can be described also as a resonance between two alternative structures: neutral (A) and zwitterionic (B). It is estimated that for acetamide, structure A makes a 62% contribution to the structure, while structure B makes a 28% contribution. (These figures do not sum to 100% because there are additional less-important resonance forms that are not depicted above). There is also a hydrogen bond present between the active groups hydrogen and nitrogen atoms. Resonance is largely prevented in the very strained quinuclidone. Basicity Compared to amines, amides are very weak bases. While the conjugate acid of an amine has a pKa of about 9.5, the conjugate acid of an amide has a pKa around −0.5. Therefore, amides don't have as clearly noticeable acid–base properties in water. This relative lack of basicity is explained by the withdrawing of electrons from the amine by the carbonyl. On the other hand, amides are much stronger bases than carboxylic acids, esters, aldehydes, and ketones (their conjugate acids' pKas are between −6 and −10). The proton of a primary or secondary amide does not dissociate readily under normal conditions; its pKa is usually well above 15. Conversely, under extremely acidic conditions, the carbonyl oxygen can become protonated with a pKa of roughly −1. It is not only because of the positive charge on the nitrogen, but also because of the negative charge on the oxygen gained through resonance. Hydrogen bonding and solubility Because of the greater electronegativity of oxygen, the carbonyl (C=O) is a stronger dipole than the N–C dipole. The presence of a C=O dipole and, to a lesser extent a N–C dipole, allows amides to act as H-bond acceptors. In primary and secondary amides, the presence of N–H dipoles allows amides to function as H-bond donors as well. Thus amides can participate in hydrogen bonding with water and other protic solvents; the