A sensor, comprising: a base body; a support portion fixed to the base body; and a first member supported by the support portion, a gap being provided between the base body and a part of the first member, the first member including a supported region, a first movable region, a first structure, a first support structure, a first connection structure, a first connect portion, and a first beam, the support portion being located between the base body and the supported region in a first direction from the base body to the support portion, the first beam extending along a second direction crossing the first direction, a first beam position of the first beam in the second direction being located between a first movable region position of the first movable region in the second direction and a support portion position of the support portion in the second direction, a first end of the first beam being connected to the first connecting structure, a first other end of the first beam being connected to the supported region, a first structure position of the first structure in the second direction being located between the first movable region position and the first beam position, a first connection structure position of the first connection structure in the second direction being located between the first structure position and the first beam position, a first support structure position of the first support structure in the second direction being located between the first structure position and the support portion position, the first structure including a first portion, a first other portion, and a first intermediate portion, a third direction from the first portion to the first other portion crossing a plane including the first direction and the second direction, the first intermediate portion being between the first portion and the first other portion, the first portion being connected to the first connection structure, the first other portion being connected to the first movable region, the first intermediate portion being connected to the first support structure, and the first connect portion connecting the first connection structure to the first support structure. a base body; a support portion fixed to the base body; and a first member supported by the support portion, a gap being provided between the base body and a part of the first member, the first member including a supported region, a first movable region, a first structure, a first support structure, a first connection structure, a first connect portion, and a first beam, the support portion being located between the base body and the supported region in a first direction from the base body to the support portion, the first beam extending along a second direction crossing the first direction, a first beam position of the first beam in the second direction being located between a first movable region position of the first movable region in the second direction and a support portion position of the support portion in the second direction, a first end of the first beam being connected to the first connecting structure, a first other end of the first beam being connected to the supported region, a first structure position of the first structure in the second direction being located between the first movable region position and the first beam position, a first connection structure position of the first connection structure in the second direction being located between the first structure position and the first beam position, a first support structure position of the first support structure in the second direction being located between the first structure position and the support portion position, the first structure including a first portion, a first other portion, and a first intermediate portion, a third direction from the first portion to the first other portion crossing a plane including the first direction and the second direction, the first intermediate portion being between the first portion and the first other portion, the first portion being connected to the first connection structure, the first other portion being connected to the first movable region, the first intermediate portion being connected to the first support structure, and the first connect portion connecting the first connection structure to the first support structure.