This work investigates the role of flexibility and resonant excitation on the deformation mechanism and aerodynamic performance of flapping wings. A hummingbird-inspired wing (HIW) is considered and designed to have a bone-like stiffener made of carbon fibre/epoxy (CF/E) composite attached to a membrane made of carbon nanotubes/polypropylene (CNTs/PP) nanocomposite representing the flexible part of the natural wing. The designed HIW model is analysed through fluid-structure interaction simulations performed at frequencies near and at resonant frequency. It is found that HIW generates desired bending and twisting deformations that are coupled. These deformation mechanisms are studied in detail with the help of time-varying deflections and bending-twisting angles. Further, the simultaneous effect of these parameters on the aerodynamic performance of the wing is also investigated. It is observed that the coupled nature of bending and twisting deformations is critical in enhancing the aerodynamic performance of flapping wings. In addition to that, the resonance generates higher amplitude of desired structural deformations that further enhances thrust as well as lift generation capability of the wing. The underlying mechanism for this is also explained by studying the flow around the deflected surface of the wing. Compared to off-resonant frequencies, vorticity and pressures are substantially higher for the wing at resonance. A physical model of HIW is realised using CNTs/PP and CF/E composites to perform experimental wing motion analysis and to validate the computational results. In conclusion, the present study provides a basis to design efficient biomimetic flapping wings for micro aerial vehicles (MAVs) by exploring flexibility and resonant excitation.