A variable capacitor includes a first metal layer. The variable capacitor further includes a deoxyribonucleic acid-based (DNA-based) biopolymer layer including an organic component and a surfactant. The DNA-based biopolymer layer is adjacent the first metal layer. The variable capacitor further includes a conjugated polymer layer adjacent the DNA-based biopolymer layer and a second metal layer adjacent the conjugated polymer layer.