To provide a secondary battery that is suitable to a portable information terminal or a wearable device. To provide an electronic device having a novel structure that can have various forms and a secondary battery that fits the forms of the electronic device. The secondary battery includes a film provided with depressions or projections that can ease stress on the film due to application of external force. The sizes of the depressions or projections are different between a center portion and an end portion of the film. The end portion of the film is sealed with an adhesive layer. The depressions or projections of the film are formed by pressing such as embossing.